package com.bbird.od.finance.service.models;

import com.alibaba.excel.annotation.ExcelProperty;
import com.bbird.od.finance.service.models.excel.EnumToExcelConverter;
import com.bbird.od.finance.service.models.type.HomeOrderType;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author ziyang Kuang
 * @date 2020/11/16
 * @describe ERP记录
 */
@Data
public class ERPFlow {
    // 日期
	@ExcelProperty("日期")
    private String dateTIme;
    // 单据编号
	@ExcelProperty("单据编号")
    private String homeOrderNumber;
    // 单据类别
	@ExcelProperty(value = "单据类别", converter = EnumToExcelConverter.class)
    private HomeOrderType homeOrderType;
    // 应收增加
	@ExcelProperty("应收增加")
    private BigDecimal receivableAddAmount;
    // 应收减少
	@ExcelProperty("应收减少")
    private BigDecimal receivableReduceAmount;
    // 应收余额
	@ExcelProperty("应收余额")
    private BigDecimal receivableBalance;
    // 数量
	@ExcelProperty("数量")
    private Integer Number;
    // 组号
	@ExcelProperty("组号")
    private Integer group;
    // 组内余额
	@ExcelProperty("组内余额")
    private BigDecimal groupBalance;
    // 对账标记
	@ExcelProperty("对账标记")
    private String reconciliationMark;
    // 已开票金额
	@ExcelProperty("已开票金额")
    private BigDecimal invoicedAmount;
    // 未开票金额
	@ExcelProperty("未开票金额")
    private BigDecimal unInvoiceAmount;
    // 往来单位编号
	@ExcelProperty("往来单位编号")
    private String concatCompanyNumber;
    // 往来单位名称
	@ExcelProperty("往来单位名称")
    private String concatCompanyName;
    // 经手人
	@ExcelProperty("经手人")
    private String chargePerson;
    // 附加说明
	@ExcelProperty("附加说明")
    private String description;
    // 摘要
	@ExcelProperty("摘要")
    private String remark;
}
